package org.example.ann;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author zengxiaoyu
 * @date 2025/9/12 14:05
 */
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface DynamicExecutor {
    // 动态执行器名称 - 唯一标识
    String name();
    // 标题
    String title();

    int port() default 9000;
}
